import json
# jjfather-2020-09-27: init the LabelCondition class


# conditions is a list of map {}
# type is ether 'value' or 'enum'
# content is a list: if the type is 'value', it contains 2 values {min, max}
def trans_json_2_label(json_str):
    obj = json.loads(json_str)
    return obj
